package io.geekidea.boot.jieanbo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * AI设置表参数
 *
 * @author geekidea
 * @since 2025-06-04
 */
@Data
@Schema(description = "AI设置表参数")
public class AiSetDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private Integer id;

    @Schema(description = "api地址")
    @NotBlank(message = "api地址不能为空")
    @Length(max = 255, message = "api地址长度超过限制")
    private String apiurl;

    @Schema(description = "授权码")
    @NotBlank(message = "授权码不能为空")
    @Length(max = 255, message = "授权码长度超过限制")
    private String authorization;

    @Schema(description = "模型名称")
    @NotBlank(message = "模型名称不能为空")
    @Length(max = 255, message = "模型名称长度超过限制")
    private String model;

    @Schema(description = "预置提示词")
    @NotBlank(message = "预置提示词不能为空")
    @Length(max = 255, message = "预置提示词长度超过限制")
    private String prompt;

}


